package com.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.utils.Date2LongSerializer;

@TableName("t_work_record")
public class WorkRecord {
    private String id;

    private String orderId;

    private Integer handleType;
    @JsonSerialize(using = Date2LongSerializer.class)
    private Date recordDate;

    private String handleReason;

    private String createBy;
    @JsonSerialize(using = Date2LongSerializer.class)
    private Date createDate;

    private String appointmentTime;

    private Integer whetherToCharge;

    private Integer confirmationMethod;

    private Integer handleMethod;

    private String handleImg;

    private String spareParts;
    
    private Integer status;
    
    private String handleDesc;
    
    private String equipmentType;
    
    @TableField (exist = false)
    private String equipmentTypeName;
    
    
    
    public String getEquipmentTypeName() {
		return equipmentTypeName;
	}

	public void setEquipmentTypeName(String equipmentTypeName) {
		this.equipmentTypeName = equipmentTypeName;
	}

	public String getEquipmentType() {
		return equipmentType;
	}

	public void setEquipmentType(String equipmentType) {
		this.equipmentType = equipmentType;
	}

	@TableField (exist = false)
    private String sparePartsName;
    
    public String getSparePartsName() {
		return sparePartsName;
	}

	public void setSparePartsName(String sparePartsName) {
		this.sparePartsName = sparePartsName;
	}

	public String getHandleDesc() {
		return handleDesc;
	}

	public void setHandleDesc(String handleDesc) {
		this.handleDesc = handleDesc;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId == null ? null : orderId.trim();
    }

    public Integer getHandleType() {
        return handleType;
    }

    public void setHandleType(Integer handleType) {
        this.handleType = handleType;
    }

    public Date getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(Date recordDate) {
        this.recordDate = recordDate;
    }

    public String getHandleReason() {
        return handleReason;
    }

    public void setHandleReason(String handleReason) {
        this.handleReason = handleReason == null ? null : handleReason.trim();
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public String getAppointmentTime() {
        return appointmentTime;
    }

    public void setAppointmentTime(String appointmentTime) {
        this.appointmentTime = appointmentTime == null ? null : appointmentTime.trim();
    }

    public Integer getWhetherToCharge() {
        return whetherToCharge;
    }

    public void setWhetherToCharge(Integer whetherToCharge) {
        this.whetherToCharge = whetherToCharge;
    }

    public Integer getConfirmationMethod() {
        return confirmationMethod;
    }

    public void setConfirmationMethod(Integer confirmationMethod) {
        this.confirmationMethod = confirmationMethod;
    }

    public Integer getHandleMethod() {
        return handleMethod;
    }

    public void setHandleMethod(Integer handleMethod) {
        this.handleMethod = handleMethod;
    }

    public String getHandleImg() {
        return handleImg;
    }

    public void setHandleImg(String handleImg) {
        this.handleImg = handleImg == null ? null : handleImg.trim();
    }

    public String getSpareParts() {
        return spareParts;
    }

    public void setSpareParts(String spareParts) {
        this.spareParts = spareParts == null ? null : spareParts.trim();
    }
}